package cn.gjxblog.service;

import cn.gjxblog.entity.Permission;
import cn.gjxblog.entity.Role;
import cn.gjxblog.entity.User;

import java.util.List;

/**
 * 作用:
 * 作者:gjx
 * 版本:V1.0
 * 创建时间: 2018/7/29 20:03
 */
public interface UserSerivce {
    User findUserByName(String username);
    List<Role> findRoles(String username);
    List<Permission> findPermissions(String username);
}
